package com.alpaca.recommend.bean;

import com.alpaca.recommend.hbase.activerecord.HModel;
import com.alpaca.recommend.util.MD5Util;

/**
 *反查Utag表.
 */
public class TagUser  extends HModel<TagUser> {

    public void init(String channelCode,String userId,String tag) {
        String rowkey = MD5Util.md5(channelCode) + MD5Util.md5(tag) + userId;
        //设置rowkey.
        setRow(rowkey);
        set("u", "uid", userId);
    }
}
